package Composite;

import fichiers.*;
import Composite.Element;
import java.io.*;
import javax.swing.*;


public class PNG extends Photo{
    
    public PNG(Element pere, File courant, String nom) {
       
        super(pere, courant, nom);
        this.setType("PNG");
    }

        public ImageIcon getRepresentation() {

        return Element.png;
    }
        
     public String getExtension(){
        
        return ".png";
    }
        
}
